class SchoolComment < ActiveRecord::Base
  belongs_to :school
  belongs_to :user
  
  format_attribute :content
  
  def editable_by?(user)
    user!=:false && (user.id == user_id || user.is_admin?)
  end

end
